package entity;

import java.util.ArrayList;
import java.util.List;


public class Cart {
    private List<Cake> items = new ArrayList<>();

    public void addItem(Cake cake) {
        items.add(cake);
    }

    public List<Cake> getItems() {
        return items;
    }

    public boolean isEmpty() {
        return items.isEmpty();
    }
}
